package com.gxa.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable {

    private static final long serialVersionUID= -1738332121841523695L;

    private Integer userID;

    private String userName;

    private String name;

    private Integer departmentID;

    private Integer dutyID;

    private String sex;

    private Integer citizenID;

    private String phone;

    private String QQ;

    private String addres;
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Timestamp birthDate;
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Timestamp entryDate;

    private String passwd;

    private String remarks;

    private Integer state;


}